import { formatPermission } from '@/router/format'

export const storeUserInvoiceRoutes = {
  path: '/merchant/operation/user/invoice/index',
  name: 'storeOperationUserCouponIndex',
  component: () => import(/* webpackChunkName: "operation-user" */ '@/views/operation/user/invoice/index'),
  meta: {
    title: '开票信息'
  },
  // permission: ['/merchant/operation/user/invoice/list'],
  hidden: true,
  redirect: '/merchant/operation/user/invoice/list',
  children: [
    {
      path: '/merchant/operation/user/invoice/list',
      name: 'storeOperationUserInvoice',
      component: () => import(/* webpackChunkName: "operation-user" */ '@/views/operation/user/invoice/list'),
      meta: {
        title: '开票信息',
        activeMenu: "/merchant/operation/user/list"
      },
    },
  ],
}
